package com.xujieyang.study.thrift;

import org.apache.thrift.TException;
import org.apache.thrift.async.AsyncMethodCallback;
import org.springframework.stereotype.Service;

@Service("helloWorld2")
public class HelloWorldImpl2 implements HelloWorldService.AsyncIface {

	@Override
	public void sayHello1(String username1, AsyncMethodCallback resultHandler) throws TException {
		System.out.println(username1);
	}

	@Override
	public void sayHello2(String username2, AsyncMethodCallback resultHandler) throws TException {
		System.out.println(username2);
	}

	@Override
	public void sayHello3(String username3, AsyncMethodCallback resultHandler) throws TException {
		System.out.println(username3);
	}

}